package com.zx._01_基础._017_国际化;

import java.util.ListResourceBundle;

public class mess_en_US extends ListResourceBundle {

    //该数组的每一项都是一个key-value对
    private final Object[][] prop = {
            {"hello", "hello!!"},
            {"msg", "hello,{0}!Today is{1}."}
    };

    //必须重写getContents，返回以上数组
    @Override
    protected Object[][] getContents() {
        return prop;
    }
}
